package interfaces;

import java.rmi.RemoteException;

public interface Peer extends java.rmi.Remote {

	public boolean election() throws RemoteException;  // execute election.
	public void electionSucceeds() throws RemoteException;  // coordinator notifies the peer that election has ended.
	
}
